﻿using BudgetManager.Entities;
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BudgetManager.Data
{
    public class BudgetMgrDataContext: DataContext
    {
        public static string connectionString = "Data Source=isostore:/ExpenseDB2.sdf";
        public BudgetMgrDataContext(string connectionString)
            : base(connectionString)
        {
        }

        public Table<Category> Categories;
        public Table<Expense> Expenses;

    }
}
